package com.atguigu.chapter02

import scala.io.StdIn

object TestInput {

  def main(args: Array[String]): Unit = {
    println("input name:")
    var name = StdIn.readLine()

    println("input age:")
    var age = StdIn.readShort()

    println("input sal:")
    var sal = StdIn.readDouble()

    println("name=" + name)
    println("age=" + age)
    println("sal=" + sal)
  }

}
